from rest_framework import serializers
from user import models
class UserInfoSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.BookUserMode
        fields = ['id','username','first_name','last_name','email','avatar']




